package com.peopledelete.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author cyt
 * @create 2020-06-15 15:21
 */

@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "x")
public class X {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "weather")
    private Double weather;

    @TableField(value = "temp")
    private Double temp;

    @TableField(value = "act")
    private Double act;

    @TableField(value = "festival")
    private Double festival;

    @TableField(value = "date")
    private Date date;

    public static final String COL_ID = "id";

    public static final String COL_WEATHER = "weather";

    public static final String COL_TEMP = "temp";

    public static final String COL_ACT = "act";

    public static final String COL_FESTIVAL = "festival";

    public static final String COL_DATE = "date";
}